DevJourney

Python/Basics/Dimensions of Circle/circledimensions.py

#Program to find area and perimeter of a circle
r=int(input("Enter radius : "))
pi=3.14
p=2*pi*r
a=pi*r**2
print("The circle having radius {0} has perimeter {1} and area {2}".format(r,p,a))
View on GitHub